import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

Vue.config.productionTip = false

// 添加axios请求拦截器  
// 在调用之前 先给axios 丰富自身的信息
// axios.interceptors.request.use(function (config) {
//   config.headers = {
//     "x-Client-Info": '{"a":"3000","ch":"1002","v":"5.0.4","e":"16158378361975624826617857","bc":"310100"}',
//     "X-Host": "mall.film-ticket.film.list"

//   }
//   return config
// },
//   function (error) {
//     return Promise.reject(error)
//   }
// )

 

// axios.get('https://m.maizuo.com/gateway?cityId=310100&pageNum=1&pageSize=10&type=1&k=1886948')
// .then((res)=>{
//   console.log('res',res)
// })



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
